package com.leedsoft.dao;

import org.mybatis.spring.support.SqlSessionDaoSupport;
import org.springframework.stereotype.Repository;

/**
 * Created by leeds on 2017/7/13.
 */
@Repository
public class TestDao extends SqlSessionDaoSupport{

    public int test() {
        return getSqlSession().selectOne("com.leedsoft.mapper.self.AidSelfMapper.getMaxCode", 3);
    }
}
